<?php
/**
 * ExtButtonGroup class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtButtonGroup extends ExtButtonGroupBase
{
    /**
     * Gets the value of ExtJS baseCls property
     * @return String 
     */
    public function getBaseCls()
    {
    	return $this->getConfig("basecls");
    }

    /**
     * Sets the value of ExtJS baseCls property
     * @param String $value 
     */
    public function setBaseCls($value)
    {
    	$this->setConfig("basecls",$value);
    }

    /**
     * Gets the value of ExtJS columns property
     * @return Number 
     */
    public function getColumns()
    {
    	return $this->getConfig("columns");
    }

    /**
     * Sets the value of ExtJS columns property
     * @param Number $value 
     */
    public function setColumns($value)
    {
    	$this->setConfig("columns",$value);
    }

    /**
     * Gets the value of ExtJS frame property
     * @return Boolean 
     */
    public function getFrame()
    {
    	return $this->getConfig("frame");
    }

    /**
     * Sets the value of ExtJS frame property
     * @param Boolean $value 
     */
    public function setFrame($value)
    {
    	$this->setConfig("frame",$value);
    }

    /**
     * Gets the value of ExtJS layout property
     * @return String 
     */
    public function getLayout()
    {
    	return $this->getConfig("layout");
    }

    /**
     * Sets the value of ExtJS layout property
     * @param String $value 
     */
    public function setLayout($value)
    {
    	$this->setConfig("layout",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'basecls' => 'baseCls'
        ));



        $this->setXType('buttongroup');
        $this->setXClass('Ext.ButtonGroup');
    }    
}
?>